package com.woniu.service;

import com.woniu.util.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author Fans
 * @time 2021/04/01 10:40:44
 */
@FeignClient("sales-service")
public interface ISalesService {
    @PostMapping("/sales/{customerID}")
    ResultVO findByCustomerID(@PathVariable("customerID") Integer customerID);
}
